package com.ruoyi.event.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.event.mapper.EventMyListMapper;
import com.ruoyi.event.domain.EventMyList;
import com.ruoyi.event.service.IEventMyListService;

/**
 * 报名活动信息Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-10-17
 */
@Service
public class EventMyListServiceImpl implements IEventMyListService 
{
    @Autowired
    private EventMyListMapper eventMyListMapper;

    /**
     * 查询报名活动信息
     * 
     * @param id 报名活动信息主键
     * @return 报名活动信息
     */
    @Override
    public EventMyList selectEventMyListById(Long id)
    {
        return eventMyListMapper.selectEventMyListById(id);
    }

    /**
     * 查询报名活动信息列表
     * 
     * @param eventMyList 报名活动信息
     * @return 报名活动信息
     */
    @Override
    public List<EventMyList> selectEventMyListList(EventMyList eventMyList)
    {
        return eventMyListMapper.selectEventMyListList(eventMyList);
    }

    /**
     * 新增报名活动信息
     * 
     * @param eventMyList 报名活动信息
     * @return 结果
     */
    @Override
    public int insertEventMyList(EventMyList eventMyList)
    {
        return eventMyListMapper.insertEventMyList(eventMyList);
    }

    /**
     * 修改报名活动信息
     * 
     * @param eventMyList 报名活动信息
     * @return 结果
     */
    @Override
    public int updateEventMyList(EventMyList eventMyList)
    {
        return eventMyListMapper.updateEventMyList(eventMyList);
    }

    /**
     * 批量删除报名活动信息
     * 
     * @param ids 需要删除的报名活动信息主键
     * @return 结果
     */
    @Override
    public int deleteEventMyListByIds(Long[] ids)
    {
        return eventMyListMapper.deleteEventMyListByIds(ids);
    }

    /**
     * 删除报名活动信息信息
     * 
     * @param id 报名活动信息主键
     * @return 结果
     */
    @Override
    public int deleteEventMyListById(Long id)
    {
        return eventMyListMapper.deleteEventMyListById(id);
    }
}
